import instance from "@/util/request";

// 登录
export function login(data){
    return instance({
        url:'/user/login',
        method:'post',
        data,
        isToken:false
    })
}

// 获取个人信息
export function info(){
    return instance({
        url:'/user/info',
        method:'get',
    })
}